//@ sourceURL=MeetingMinutesForm.js
MeetingMinutesForm = Ext.extend(Ext.Window,
{
    constructor : function(a) {
        Ext.applyIf(this, a);
        this.initUIComponents();
        MeetingMinutesForm.superclass.constructor.call(this, {
            layout : "fit",
            id : this.inputFormName,
            items : yearGridFormPanel,
            modal : true,
            bodyStyle : "padding:2px;",
            buttonAlign : "center",
            buttons : yearGridFormButtons,
            title : "会议纪要添加",
            iconCls : "menu-flowWait",
            width : 620,
            height : 450
        });
    },
    //初始化数据
    initUIComponents : function() {
        createyeargridform({
            operation:this,
            form:{
                saveUrl: __ctxPath+"/safemeeting/saveMeetManage.do",
                items:[
                       {
                           id : "meetManage.id",
                           name : "meetManage.id",
                           xtype : "hidden",
                           value : this.id == null ? "": this.id
                       },{
               layout:"column",
               bodyStyle:"padding:5px;",
               items:[{
                   layout:"form",
                   bodyStyle:"padding:5px;",
                   columnWidth:1.,
                   items:[{
                   xtype:"textarea", 
                   fieldLabel: '会议内容', 
                   name: 'meetManage.meetContent', 
                 //  maxLength:300,
                   width : 448 
                   }]
               },{
                   layout:"form",
                   bodyStyle:"padding:5px;",
                   columnWidth:1.,
                   items:[{
                   xtype:"textarea", 
                   fieldLabel: '会议总结', 
                   name: 'meetManage.meetSummary', 
                 //  maxLength:300,
                   width : 448 
                   }]
               },{
                       columnWidth:1.,//第一列 
                        layout:"form", 
                        bodyStyle:"padding:5px;",
                        items:[{ 
                            xtype:"textarea", 
                            fieldLabel: '会议纪要', 
                            name: 'meetManage.meetingMinutes', 
                            width:448 
                            }] 
                   }]
           }
           ]
        },
        loadData:{
            getUrl:__ctxPath +"/safemeeting/getMeetManage.do",
            preName : "meetManage"
        },
        isShow:this.isShow
    });
}
});
